package com.taxsearch.dao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface NoCredentualsMapper {
	/**
	 * @Title: getNoCredentualsList
	 * @Description: 获取无证入住列表
	 * @param: @return  
	 * @return: List<Map<String,String>>   
	 * @throws
	 */
	public List<HashMap<String,String>> getNoCredentualsList(@Param("hotelId") String hotelId, @Param("date") String date, @Param("zt") String zt, @Param("zjhm") String zjhm, @Param("xm") String xm);
	
	/**
	 * @Title: getNoCredentialsImag
	 * @Description: 通过旅客的唯一标识查询审批后的信息
	 * @param: @param id
	 * @param: @return  
	 * @return: HashMap<String,String>   
	 * @throws
	 */
	public List<HashMap<String, Object>> getNoCredentialsImag(String id);
	
	/**
	 * @Title: getgetNoCredentialsOk
	 * @Description: 查询审批成功的
	 * @param: @param id
	 * @param: @return  
	 * @return: List<HashMap<String,String>>   
	 * @throws
	 */
	public List<HashMap<String, String>> getNoCredentialsOk(String id);
	
	/**
	 * @Title: updateNoCredentialsOk
	 * @Description: 无证审批表中状态修改0-1
	 * @param: @param id旅馆编号
	 * @param: @param list需要改变的列表
	 * @param: @return  
	 * @return: Integer   
	 * @throws
	 */
	public Integer updateNoCredentialsOk(@Param("id") String id, @Param("list") List<HashMap<String, String>> list);
	
	/**
	 * @Title: updateCheckInBUPLOAD
	 * @Description: 无证审批成功将入住表BUPLOAD变成1未上传
	 * @param: @param id旅馆编号
	 * @param: @param list需要改变的列表
	 * @param: @return  
	 * @return: Integer   
	 * @throws
	 */
	public Integer updateCheckInBUPLOAD(@Param("id") String id, @Param("list") List<HashMap<String, String>> list);
	
	/**
	 * @Title: updateNoCredentialsNo
	 * @Description: 将无证审批中审批失败的ENTERPRISE_ID 变为2
	 * @param: @param id
	 * @param: @return  
	 * @return: Integer   
	 * @throws
	 */
	public Integer updateNoCredentialsNo(String id);
}







